Objects Reference

flyEngine::get_model_object

Prototype

mesh *get_model_object(char *name)

Parameters

Parameter Type Description
name char * model name

Return Value

Returns a pointer to the given model or NULL if model not found.

Remarks

This function is used to get models from the stock. It returns the model pointer for a given string based name. Models can be .3ds or .fao files. If model is not in the model linked list, it attempts to load the model from disk.